package com.dime.physical.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 问诊放射史其他对象 dime_inquiryradiationother
 * 
 * @author Tiny
 * @date 2023-10-07
 */
public class DimeInquiryradiationother extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String physicalRegisterId;

    /** 医生id */
    @Excel(name = "医生id")
    private String doctorId;

    /** 医生 */
    @Excel(name = "医生")
    private String doctorName;

    /** 配偶接触放射情况 */
    @Excel(name = "配偶接触放射情况")
    private String spouseradiation;

    /** 配偶职业及健康状况 */
    @Excel(name = "配偶职业及健康状况")
    private String spousehealth;

    /** 剂量检测单位 */
    @Excel(name = "剂量检测单位")
    private String radiationdetection;

    /** 知识培训单位 */
    @Excel(name = "知识培训单位")
    private String trainingorg;

    /** 结婚日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结婚日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date marriagedate;

    /** 文化程度 */
    @Excel(name = "文化程度")
    private String education;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPhysicalRegisterId(String physicalRegisterId) 
    {
        this.physicalRegisterId = physicalRegisterId;
    }

    public String getPhysicalRegisterId() 
    {
        return physicalRegisterId;
    }
    public void setDoctorId(String doctorId) 
    {
        this.doctorId = doctorId;
    }

    public String getDoctorId() 
    {
        return doctorId;
    }
    public void setDoctorName(String doctorName) 
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName() 
    {
        return doctorName;
    }
    public void setSpouseradiation(String spouseradiation) 
    {
        this.spouseradiation = spouseradiation;
    }

    public String getSpouseradiation() 
    {
        return spouseradiation;
    }
    public void setSpousehealth(String spousehealth) 
    {
        this.spousehealth = spousehealth;
    }

    public String getSpousehealth() 
    {
        return spousehealth;
    }
    public void setRadiationdetection(String radiationdetection) 
    {
        this.radiationdetection = radiationdetection;
    }

    public String getRadiationdetection() 
    {
        return radiationdetection;
    }
    public void setTrainingorg(String trainingorg) 
    {
        this.trainingorg = trainingorg;
    }

    public String getTrainingorg() 
    {
        return trainingorg;
    }
    public void setMarriagedate(Date marriagedate) 
    {
        this.marriagedate = marriagedate;
    }

    public Date getMarriagedate() 
    {
        return marriagedate;
    }
    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("physicalRegisterId", getPhysicalRegisterId())
            .append("doctorId", getDoctorId())
            .append("doctorName", getDoctorName())
            .append("spouseradiation", getSpouseradiation())
            .append("spousehealth", getSpousehealth())
            .append("radiationdetection", getRadiationdetection())
            .append("trainingorg", getTrainingorg())
            .append("marriagedate", getMarriagedate())
            .append("education", getEducation())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
